// @ts-ignore
/* eslint-disable */
import request from '@/utils/request'

/** 此处后端没有提供注释 GET /connections/connections */
export async function getConnectionCount(options?: { [key: string]: any }) {
  return request<UserService.ResultInteger>(`/user/connections/connections`, {
    method: 'GET',
    ...(options || {}),
  })
}

/** 此处后端没有提供注释 GET /connections/online/count */
export async function getOnlineUserCount(options?: { [key: string]: any }) {
  return request<UserService.ResultInteger>(`/user/connections/online/count`, {
    method: 'GET',
    ...(options || {}),
  })
}
